package net.betou.cms.dao.main;

import net.betou.cms.entity.main.ContentCount;
import net.betou.common.hibernate3.Updater;
import net.sf.ehcache.Ehcache;

public interface ContentCountDao{
	public int clearCount( boolean week, boolean month );

	public int copyCount( );

	public int freshCacheToDB( Ehcache cache );

	public ContentCount findById( Integer id );

	public ContentCount save( ContentCount bean );

	public ContentCount updateByUpdater( Updater< ContentCount > updater );
}